ContentEgg\application\helpers\TemplateHelper D

Total Complexity 388
Dependencies 13
Dependents 16
Total lines 1,962
Lines of code 1,537
Logical lines of code 768
Comment lines 47
Methods 99
Properties 5

Methods 99

Method Rating Maintainability Complexity Lines of code
sortByPrice()
D
31 31 125
getMerchantImageUrl()
B
40 18 57
replacePatterns()
A
44 12 52
filterData()
A
48 11 35
getMerhantName()
A
47 10 42
getStockStatusStr()
A
50 9 31
getImageSizesRatio()
A
50 8 29
generateStaticRatings()
A
51 8 27
getGallery()
A
52 8 26
getMerhantLogoUrl()
S
51 7 25
getShopCoupons()
S
53 7 22
getTimeLeft()
S
48 6 35
getMerchnatInfo()
S
52 6 27
truncate()
S
52 6 26
getShopInfo()
S
54 6 20
getOptimizedImage()
S
58 6 14
printShopInfoModal()
S
51 5 27
getGroupsList()
S
53 5 26
printShopCouponsModal()
S
51 5 25
getCustomLogo()
S
55 5 22
getStockStatusClass()
S
55 5 22
priceHistoryMorrisChart()
S
47 4 36
displayImage()
S
55 5 20
generateAddAllToCartUrl()
S
55 5 19
selectItemByDescription()
S
57 5 17
viewMorrisChart()
S
49 4 30
getAmazonLink()
S
60 5 14
getLastUpdate()
S
59 5 14
getMerhantIconUrl()
S
58 5 14
hideParamPrepare()
S
54 4 23
getDaysAgo()
S
55 4 21
getLastUpdateFormattedAmazon()
S
56 4 20
btnText()
S
56 4 20
getShopsList()
S
57 4 18
filterDataByModule()
S
59 4 15
findAmazonLocales()
S
59 4 15
filterByGroup()
S
59 4 15
adjustBrightness()
S
57 4 15
sortByNumber()
S
60 4 13
isModuleDataExist()
S
61 4 13
eanParamPrepare()
S
62 4 12
getCommonCurrencyCode()
S
61 4 12
priceChangesProducts()
S
56 3 18
printShopInfoPopover()
S
55 3 18
getMerchantLogoDir()
S
59 3 16
printRel()
S
60 3 15
getNumberFromTitle()
S
63 4 10
isNumbered()
S
67 4 8
buildTagParams()
S
59 3 14
formatPriceCurrency()
S
61 3 13
number_format_i18n()
S
61 3 13
mergeData()
S
63 3 12
printRating()
S
61 3 12
mergeAll()
S
63 3 12
filterDataByType()
S
61 3 12
getCashbackStr()
S
62 3 11
getLastUpdateFormatted()
S
64 3 9
printShopInfo()
S
64 3 9
printShopCoupons()
S
67 3 7
getNameFromDomain()
S
64 3 9
getChance()
S
61 2 13
priceHistoryPrices()
S
61 2 12
printMerchantInfo()
S
63 2 11
getAssociateTagForAmazonLocale()
S
64 2 11
formatDatetime()
S
64 2 10
getButtonColor()
S
69 2 7
getAmazonDisclaimer()
S
64 2 10
dateFormatFromGmt()
S
64 2 9
getCurrentUserEmail()
S
69 2 7
getPriceColor()
S
69 2 7
priceHistoryMax()
S
67 2 7
getMaxPriceItem()
S
72 2 5
sortAllByPrice()
S
68 2 7
priceHistoryMin()
S
67 2 7
getPrivacyUrl()
S
65 2 10
priceHistorySinceDate()
S
68 2 7
getMinPriceItem()
S
72 2 5
printProgressRing()
S
62 2 10
isCashbackTrakerActive()
S
66 2 10
couponBtnText()
S
77 1 3
formatDate()
S
78 1 3
price_format_i18n()
S
77 1 3
t()
S
80 1 3
splitAttributeName()
S
78 1 3
getCurrencySymbol()
S
80 1 3
esc_html_e()
S
79 1 3
__()
S
80 1 3
isPriceAlertAllowed()
S
78 1 3
getCurrencyPos()
S
80 1 3
getButtonColorHower()
S
78 1 3
getRelValue()
S
75 1 4
getCurrencyName()
S
80 1 3
getMerchantName()
S
78 1 3
getBlankImg()
S
79 1 3
generateGlobalId()
S
79 1 3
fixNumberedTitle()
S
72 1 5
printAmazonDisclaimer()
S
78 1 3
currencyTyping()
S
80 1 3
buyNowBtnText()
S
77 1 3